Integrand size = 28, antiderivative size = 354 \[ \int \frac {1}{(d+e x)^{3/2} \sqrt {f+g x} \left (a+c x^2\right )} \, dx=-\frac {e \sqrt {f+g x}}{\sqrt {-a} \left (\sqrt {c} d-\sqrt {-a} e\right ) (e f-d g) \sqrt {d+e x}}+\frac {e \sqrt {f+g x}}{\sqrt {-a} \left (\sqrt {c} d+\sqrt {-a} e\right ) (e f-d g) \sqrt {d+e x}}+\frac {\sqrt {c} \text {arctanh}\left (\frac {\sqrt {\sqrt {c} f-\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d-\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-a} \left (\sqrt {c} d-\sqrt {-a} e\right )^{3/2} \sqrt {\sqrt {c} f-\sqrt {-a} g}}-\frac {\sqrt {c} \text {arctanh}\left (\frac {\sqrt {\sqrt {c} f+\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d+\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-a} \left (\sqrt {c} d+\sqrt {-a} e\right )^{3/2} \sqrt {\sqrt {c} f+\sqrt {-a} g}} \]
[Out]
Time = 0.43 (sec) , antiderivative size = 354, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {926, 98, 95, 214} \[ \int \frac {1}{(d+e x)^{3/2} \sqrt {f+g x} \left (a+c x^2\right )} \, dx=\frac {\sqrt {c} \text {arctanh}\left (\frac {\sqrt {d+e x} \sqrt {\sqrt {c} f-\sqrt {-a} g}}{\sqrt {f+g x} \sqrt {\sqrt {c} d-\sqrt {-a} e}}\right )}{\sqrt {-a} \left (\sqrt {c} d-\sqrt {-a} e\right )^{3/2} \sqrt {\sqrt {c} f-\sqrt {-a} g}}-\frac {\sqrt {c} \text {arctanh}\left (\frac {\sqrt {d+e x} \sqrt {\sqrt {-a} g+\sqrt {c} f}}{\sqrt {f+g x} \sqrt {\sqrt {-a} e+\sqrt {c} d}}\right )}{\sqrt {-a} \left (\sqrt {-a} e+\sqrt {c} d\right )^{3/2} \sqrt {\sqrt {-a} g+\sqrt {c} f}}-\frac {e \sqrt {f+g x}}{\sqrt {-a} \sqrt {d+e x} \left (\sqrt {c} d-\sqrt {-a} e\right ) (e f-d g)}+\frac {e \sqrt {f+g x}}{\sqrt {-a} \sqrt {d+e x} \left (\sqrt {-a} e+\sqrt {c} d\right ) (e f-d g)} \]
[In]
[Out]
Rule 95
Rule 98
Rule 214
Rule 926
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {\sqrt {-a}}{2 a \left (\sqrt {-a}-\sqrt {c} x\right ) (d+e x)^{3/2} \sqrt {f+g x}}+\frac {\sqrt {-a}}{2 a \left (\sqrt {-a}+\sqrt {c} x\right ) (d+e x)^{3/2} \sqrt {f+g x}}\right ) \, dx \\ & = -\frac {\int \frac {1}{\left (\sqrt {-a}-\sqrt {c} x\right ) (d+e x)^{3/2} \sqrt {f+g x}} \, dx}{2 \sqrt {-a}}-\frac {\int \frac {1}{\left (\sqrt {-a}+\sqrt {c} x\right ) (d+e x)^{3/2} \sqrt {f+g x}} \, dx}{2 \sqrt {-a}} \\ & = -\frac {e \sqrt {f+g x}}{\sqrt {-a} \left (\sqrt {c} d-\sqrt {-a} e\right ) (e f-d g) \sqrt {d+e x}}+\frac {e \sqrt {f+g x}}{\sqrt {-a} \left (\sqrt {c} d+\sqrt {-a} e\right ) (e f-d g) \sqrt {d+e x}}-\frac {\sqrt {c} \int \frac {1}{\left (\sqrt {-a}-\sqrt {c} x\right ) \sqrt {d+e x} \sqrt {f+g x}} \, dx}{2 \left (\sqrt {-a} \sqrt {c} d-a e\right )}-\frac {\sqrt {c} \int \frac {1}{\left (\sqrt {-a}+\sqrt {c} x\right ) \sqrt {d+e x} \sqrt {f+g x}} \, dx}{2 \left (\sqrt {-a} \sqrt {c} d+a e\right )} \\ & = -\frac {e \sqrt {f+g x}}{\sqrt {-a} \left (\sqrt {c} d-\sqrt {-a} e\right ) (e f-d g) \sqrt {d+e x}}+\frac {e \sqrt {f+g x}}{\sqrt {-a} \left (\sqrt {c} d+\sqrt {-a} e\right ) (e f-d g) \sqrt {d+e x}}-\frac {\sqrt {c} \text {Subst}\left (\int \frac {1}{\sqrt {c} d+\sqrt {-a} e-\left (\sqrt {c} f+\sqrt {-a} g\right ) x^2} \, dx,x,\frac {\sqrt {d+e x}}{\sqrt {f+g x}}\right )}{\sqrt {-a} \sqrt {c} d-a e}-\frac {\sqrt {c} \text {Subst}\left (\int \frac {1}{-\sqrt {c} d+\sqrt {-a} e-\left (-\sqrt {c} f+\sqrt {-a} g\right ) x^2} \, dx,x,\frac {\sqrt {d+e x}}{\sqrt {f+g x}}\right )}{\sqrt {-a} \sqrt {c} d+a e} \\ & = -\frac {e \sqrt {f+g x}}{\sqrt {-a} \left (\sqrt {c} d-\sqrt {-a} e\right ) (e f-d g) \sqrt {d+e x}}+\frac {e \sqrt {f+g x}}{\sqrt {-a} \left (\sqrt {c} d+\sqrt {-a} e\right ) (e f-d g) \sqrt {d+e x}}+\frac {\sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {\sqrt {c} f-\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d-\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-a} \left (\sqrt {c} d-\sqrt {-a} e\right )^{3/2} \sqrt {\sqrt {c} f-\sqrt {-a} g}}-\frac {\sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {\sqrt {c} f+\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d+\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-a} \left (\sqrt {c} d+\sqrt {-a} e\right )^{3/2} \sqrt {\sqrt {c} f+\sqrt {-a} g}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.96 (sec) , antiderivative size = 383, normalized size of antiderivative = 1.08 \[ \int \frac {1}{(d+e x)^{3/2} \sqrt {f+g x} \left (a+c x^2\right )} \, dx=\frac {2 e^2 \sqrt {f+g x}}{\left (c d^2+a e^2\right ) (-e f+d g) \sqrt {d+e x}}+\frac {i \sqrt {c} \left (\sqrt {c} d+i \sqrt {a} e\right )^2 \arctan \left (\frac {\sqrt {c d^2+a e^2} \sqrt {f+g x}}{\sqrt {-\left (\left (\sqrt {c} d+i \sqrt {a} e\right ) \left (\sqrt {c} f-i \sqrt {a} g\right )\right )} \sqrt {d+e x}}\right )}{\sqrt {a} \left (c d^2+a e^2\right )^{3/2} \sqrt {-\left (\left (\sqrt {c} d+i \sqrt {a} e\right ) \left (\sqrt {c} f-i \sqrt {a} g\right )\right )}}-\frac {i \sqrt {c} \left (\sqrt {c} d-i \sqrt {a} e\right )^2 \arctan \left (\frac {\sqrt {c d^2+a e^2} \sqrt {f+g x}}{\sqrt {-\left (\left (\sqrt {c} d-i \sqrt {a} e\right ) \left (\sqrt {c} f+i \sqrt {a} g\right )\right )} \sqrt {d+e x}}\right )}{\sqrt {a} \left (c d^2+a e^2\right )^{3/2} \sqrt {-\left (\left (\sqrt {c} d-i \sqrt {a} e\right ) \left (\sqrt {c} f+i \sqrt {a} g\right )\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(10976\) vs. \(2(270)=540\).
Time = 0.47 (sec) , antiderivative size = 10977, normalized size of antiderivative = 31.01
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 11846 vs. \(2 (270) = 540\).
Time = 56.03 (sec) , antiderivative size = 11846, normalized size of antiderivative = 33.46 \[ \int \frac {1}{(d+e x)^{3/2} \sqrt {f+g x} \left (a+c x^2\right )} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {1}{(d+e x)^{3/2} \sqrt {f+g x} \left (a+c x^2\right )} \, dx=\int \frac {1}{\left (a + c x^{2}\right ) \left (d + e x\right )^{\frac {3}{2}} \sqrt {f + g x}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{(d+e x)^{3/2} \sqrt {f+g x} \left (a+c x^2\right )} \, dx=\int { \frac {1}{{\left (c x^{2} + a\right )} {\left (e x + d\right )}^{\frac {3}{2}} \sqrt {g x + f}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(d+e x)^{3/2} \sqrt {f+g x} \left (a+c x^2\right )} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(d+e x)^{3/2} \sqrt {f+g x} \left (a+c x^2\right )} \, dx=\int \frac {1}{\sqrt {f+g\,x}\,\left (c\,x^2+a\right )\,{\left (d+e\,x\right )}^{3/2}} \,d x \]
[In]
[Out]